const env = import.meta.env.MODE || "prod"
console.log(import.meta.env.MODE,'import.meta.env.MODE')
const EnvConfig = {
    // 开发环境
    development: {
        baseApi:'/api',
        mockApi:'https://apifoxmock.com/m1/4068509-0-default/api'
    },
    // 测试环境
    test: {
        baseApi:'/test/future.com/api',
        mockApi:'https://apifoxmock.com/m1/4068509-0-default/api'
    },
    // 线上环境
    production: {
        baseApi:'/future/future.com/api',
        mockApi:'https://apifoxmock.com/m1/4068509-0-default/api'
    }
}

export default {
    env,
    ...EnvConfig[env],
    // 这个是全局开启
    mock:false
}